package com.pro.springbootshop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Orders {
    @TableId(type = IdType.AUTO)
    private Integer orderId;
    private Integer waresId;
    private String BuyerId;
    private Integer waresNumber;
    private String orderTime;
    private Integer orderState;
    private String address;
    private String distribution;
    private String sellerId;
    @TableField(exist = false)
    private Wares wares;

}
